//
//  PywDatePickerView.h
//  PywSdk2.2_Test
//
//  Created by smallwave on 16/8/13.
//  Copyright © 2016年 yyft. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PywDatePickerView;
@protocol PywDatePickerViewDelegate <NSObject>
@optional
/**
 *  PywDatePicker 确定按钮点击代理事件
 *
 *  @param datePickerView PywDatePicker
 *  @param date           选中的日期
 */
- (void)datePickerView:(PywDatePickerView *)datePickerView didCommitWithSelectDate:(NSString *)date;

@end


@interface PywDatePickerView : UIView
@property (nonatomic, weak) id<PywDatePickerViewDelegate> delegate;

- (instancetype)initWithDelegate:(id<PywDatePickerViewDelegate>)delegate;

/**
 *  隐藏
 */
- (void)hidden;

@end
